← Back to issue list

Missing grammar for conditional configflags on/to architecture

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1831752
Type
issue
State
open
Author
~fnordahl
Labels
Created
2019-06-05 14:09:45.801494+00:00
Updated
2019-06-05 16:06:26.964620+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Creating a snap that will support many architectures require conditional ``configflags``. The grammar available for ``build-packages`` and ``stage-packages`` would be nice to also have for ``configflags``. (A side note is that the existing support for build/stage-packages could grow the ability to list multiple architectures so you don't have to repeat entries that are true for multiple archs) Mock-up that matches existing grammar for build/stage-packages: parts: qemu: plugin: autotools configflags: - on amd64: - --enable-xen - on i386: - --enable-xen Even better: parts: qemu: plugin: autotools configflags: ? - all : - "--enable-something-everywhere" ? - amd64 - i386 : - "--enable-xen"

Evaluation history

No evaluation history available.